package com.bwie.common.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户秒杀商品场次表
 * </p>
 *
 * @author liuxin
 * @since 2025-04-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_goods_sessions")
@ApiModel(value="TGoodsSessions对象", description="用户秒杀商品场次表")
public class GoodsSessions implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品场次id")
    @TableId(value = "goods_sessions_id", type = IdType.AUTO)
    private Long goodsSessionsId;

    @ApiModelProperty(value = "商品id")
    private Long goodsSkuId;

    @ApiModelProperty(value = "场次id")
    private Long sessionId;

    @ApiModelProperty(value = "商品数量")
    private Integer couponQuantity;

    @ApiModelProperty(value = "是否删除，0：否，1：是")
    private Integer isDelete;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
